<template>
    <button @click="login()">
        这个是登录页面
    </button>
</template>

<script lang="ts" setup>
import {useRouter} from 'vue-router'
const router=useRouter();
function login(){
    router.push('/mobile')
}
</script>